Platform Explorer / Nuxeo Platform LTS 2017 9.10

Contribution org.nuxeo.ecm.user.registration.core.service.contrib--configuration

This contribution is part of XML component org.nuxeo.ecm.user.registration.core.service.contrib inside nuxeo-platform-user-registration-web-9.10.jar /OSGI-INF/user-registration-contrib.xml

Extension Point

Extension point configuration of component UserRegistrationService.

Contributed Items

  • <configuration merge="true">
          <requestDocType>UserRegistration</requestDocType>
          <container>
            <docType>UserRegistrationContainer</docType>
            <parentPath>/management/</parentPath>
            <name>registrationRequests</name>
            <title>Registration Requests Container</title>
          </container>
          <validationEmail>
            <title>Hi ${userinfo.firstName} ${userinfo.lastName}! You are invited to access ${productName}</title>
            <template>skin/views/userRegistration/EmailInviteDocTemplate.ftl</template>
          </validationEmail>
          <reviveEmail>
            <title>You are invited to access Nuxeo</title>
            <template>skin/views/userRegistration/ReviveEmailInviteDocTemplate.ftl</template>
          </reviveEmail>
          <enterPasswordUrl>site/userRegistration/enterpassword/</enterPasswordUrl>
          <validationRelUrl>site/userRegistration/validate</validationRelUrl>
          <registrationUserFactory>org.nuxeo.ecm.user.registration.DefaultRegistrationUserFactory</registrationUserFactory>
        </configuration>

XML Source

<extension point="configuration" target="org.nuxeo.ecm.user.registration.UserRegistrationService">
    <configuration merge="true">
      <requestDocType>UserRegistration</requestDocType>
      <container>
        <docType>UserRegistrationContainer</docType>
        <parentPath>/management/</parentPath>
        <name>registrationRequests</name>
        <title>Registration Requests Container</title>
      </container>
      <validationEmail>
        <title>Hi ${userinfo.firstName} ${userinfo.lastName}! You are invited to access ${productName}</title>
        <template>skin/views/userRegistration/EmailInviteDocTemplate.ftl</template>
      </validationEmail>
      <reviveEmail>
        <title>You are invited to access Nuxeo</title>
        <template>skin/views/userRegistration/ReviveEmailInviteDocTemplate.ftl</template>
      </reviveEmail>
      <enterPasswordUrl>site/userRegistration/enterpassword/</enterPasswordUrl>
      <validationRelUrl>site/userRegistration/validate</validationRelUrl>
      <registrationUserFactory>org.nuxeo.ecm.user.registration.DefaultRegistrationUserFactory</registrationUserFactory>
    </configuration>
  </extension>